package com.jnu.hc.jnuhcusercms.mapper;

import com.jnu.hc.jnuhcusercms.domain.Cidetailedreport;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CidetailedreportMapper {
    int deleteByPrimaryKey(Integer cidrId);

    int insert(Cidetailedreport record);

    int insertSelective(Cidetailedreport record);

    Cidetailedreport selectByPrimaryKey(Integer cidrId);

    int updateByPrimaryKeySelective(Cidetailedreport record);

    int updateByPrimaryKey(Cidetailedreport record);

    @Select("select name,unit,minrange,maxrange,normalValue,normalValueString,type,value,isError,ciId from cidetailedreport where orderId=#{orderId}")
    List<Cidetailedreport>  selectByOrderId(Integer orderId);
}